Optimal. Leaf size=33 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {\frac {a}{x^2}-b x^2}}\right )}{2 \sqrt {b}} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1979, 2008, 203} \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {\frac {a}{x^2}-b x^2}}\right )}{2 \sqrt {b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 1979
Rule 2008
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {\frac {a-b x^4}{x^2}}} \, dx &=\int \frac {1}{\sqrt {\frac {a}{x^2}-b x^2}} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1+b x^2} \, dx,x,\frac {x}{\sqrt {\frac {a}{x^2}-b x^2}}\right )\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {\frac {a}{x^2}-b x^2}}\right )}{2 \sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 62, normalized size = 1.88 \begin {gather*} \frac {\sqrt {a-b x^4} \tan ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a-b x^4}}\right )}{2 \sqrt {b} x \sqrt {\frac {a-b x^4}{x^2}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [C] time = 3.66, size = 66, normalized size = 2.00 \begin {gather*} -\frac {i x \sqrt {\frac {a-b x^4}{x^2}} \log \left (\sqrt {a-b x^4}+i \sqrt {b} x^2\right )}{2 \sqrt {b} \sqrt {a-b x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 88, normalized size = 2.67 \begin {gather*} \left [-\frac {\sqrt {-b} \log \left (2 \, b x^{4} - 2 \, \sqrt {-b} x^{3} \sqrt {-\frac {b x^{4} - a}{x^{2}}} - a\right )}{4 \, b}, -\frac {\arctan \left (\frac {\sqrt {b} x^{3} \sqrt {-\frac {b x^{4} - a}{x^{2}}}}{b x^{4} - a}\right )}{2 \, \sqrt {b}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 47, normalized size = 1.42 \begin {gather*} \frac {\log \left ({\left | a \right |}\right ) \mathrm {sgn}\relax (x)}{4 \, \sqrt {-b}} - \frac {\log \left ({\left | -\sqrt {-b} x^{2} + \sqrt {-b x^{4} + a} \right |}\right )}{2 \, \sqrt {-b} \mathrm {sgn}\relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.19, size = 53, normalized size = 1.61 \begin {gather*} \frac {\sqrt {-b \,x^{4}+a}\, \arctan \left (\frac {\sqrt {b}\, x^{2}}{\sqrt {-b \,x^{4}+a}}\right )}{2 \sqrt {-\frac {b \,x^{4}-a}{x^{2}}}\, \sqrt {b}\, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} b \int \frac {x^{5}}{{\left (b x^{4} - a\right )} \sqrt {-b x^{4} + a}}\,{d x} + \frac {x^{2}}{2 \, \sqrt {-b x^{4} + a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {\frac {a-b\,x^4}{x^2}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {\frac {a - b x^{4}}{x^{2}}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________